SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7e8e3929335963fc074c29d3a924f07275f10a95cfdc2e7c743f069c2ab6ad31}Herten{7e8e3929335963fc074c29d3a924f07275f10a95cfdc2e7c743f069c2ab6ad31}' OR prCity = 'Herten' OR prZip = 'Herten' OR prStreet LIKE '{7e8e3929335963fc074c29d3a924f07275f10a95cfdc2e7c743f069c2ab6ad31}Herten{7e8e3929335963fc074c29d3a924f07275f10a95cfdc2e7c743f069c2ab6ad31}' OR prCountry = 'Herten') AND (prLocation LIKE '{7e8e3929335963fc074c29d3a924f07275f10a95cfdc2e7c743f069c2ab6ad31}Germany{7e8e3929335963fc074c29d3a924f07275f10a95cfdc2e7c743f069c2ab6ad31}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7e8e3929335963fc074c29d3a924f07275f10a95cfdc2e7c743f069c2ab6ad31}Germany{7e8e3929335963fc074c29d3a924f07275f10a95cfdc2e7c743f069c2ab6ad31}' OR prCountry = 'Germany')